home *** CD-ROM | disk | FTP | other *** search
-
- Dog X-Ray 1.0d1 January 5th 1995
-
-
- To whom it may concern:
-
- What is this?
- This is the first “working” prototype of Dog Xray. It is a TNC interface
- package designed for the PK232-MBX and the PowerMac. Specifically, I
- wrote it because I couldn’t get MacRatt to work on the PowerMac 8500.
-
- THIS VERSION ONLY WORKS ON A PPC. IT IS NOT A FAT BINARY.
-
- The purpose of DogXRay is to aid Dxers in their usage of the DX cluster
- network. Consequently, DXRay is not a “generic” TNC tool. As it evolves
- (if it evolves) I’ll add features related to DX logging, announcing,
- predicting MUF, predicting band openings, calculating beam angles, etc...
-
- At the moment Dog X-Ray has a number of significant limitations. These
- are due primarily to the fact I simply haven’t gotten around to making the
- user interface pretty, I’ve been working mainly on trying to make the
- PowerPlant code behave the way I think it should. Look at this as a test
- version, expect little, and you’ll get it.
-
- Limitations:
-
- - Only tested with the PK-232MBX (circa 1990) and the 8500/120
- because that’s what I have.
-
- - The buffer sizes in the scrolling windows are only 100 lines.
- I wanted to save memory. This can be changed, but as I have no
- “Preferences” dialog/save feature written yet, I have to change
- a compiler variable to do it.
-
- - Command completion only works for those commands listed in the
- AEA PK232 user’s manual. If there are others, you’ll have to
- enter them yourself.
-
- - Corillary to the above: ONLY those commands for which command
- completion works will be sent to the TNC.
-
- - ONLY Packet mode is supported.
-
- - There are no “Preferences. . .” implemented yet, so everything
- related to buffer sizes, file names, etc...is hardwired at this point.
- Sorry, but this is the d1 version, after all.
-
- What you need to make it work:
-
- 1) DogXRay uses the Communications Toolbox to facilitate
- communications to the TNC. You need to have the standard Apple “Serial
- Tool” installed on your system. As I don’t think it would be legal for me
- to do so, I have not included a copy of this with DogXRay. However, the
- CTB serial tool is available on any of the INFOMAC reflectors for
- anonymous FTP, or from ftp:info.apple.com, or on eWorld, or any other of
- the commercial services. The version I use is v1.0.2 and is dated 1992, so
- this isn’t new stuff. You don’t need any other of the CTB tools. Don’t
- bother installing them.
-
-
- 2)DogXRay looks for a file in its folder called
- “DX232 Commands.TEXT”. If you don’t have this file in the folder
- DogXRay is run from, it will complain and probably crash. (I haven’t
- implemented. The “graceful” exit isn’t there. Sorry again. You will also
- need a file called DX232Phonetics.TEXT if you want the the spotting
- announcer to work.
-
- The DX232 Commands.TEXT file is a simple text file that contains data in
- the following format:
- “PK232 Command Name<TAB>2-letter acronym<CR>”
- This related the PK232 commands to their host mode acronyms. I made it
- a text file so it could be easily modified by the user (me). If you add
- commands, keep in mind you MUST insert them in ALPHABETICAL order by
- command. If you don’t insert them in alphabetical order, command
- completion won’t work right.
-
- How to make it work:
-
- 1) With your TNC connected and turned on, start DogXRay. Two windows
- appear. The first is a floater called PK232 Command Window. The second
- is called “Monitor”. The “Monitor” is what it says, and stays that way no
- matter which mode you’re in.
-
- 2) DogXRay comes up in “Dumb Terminal” mode. That is, anything you type
- in the command window goes out to the TNC as reflected in the Monitor.
- You can use the program in this mode if you like. It’s not very satisfying,
- though. You can do your standard TNC setup things in this mode, though.
-
- 3) If you need to set the CTB serial tool configuration: - make sure you
- have the Command window selected (or the menu won’t be active). In the
- “Settings” menu, select “Connection...” and use the CTB to get your port
- and speed settings right. I use 9600 baud, 8 data bits, one stop bits, no
- handshake (though, you probably SHOULD use DTS/RTS hardware
- handshaking, but I never bother with a connection as slow as 9600). Make
- sure your TNC is set this way too. . . of course.
-
- Make certain HPOLL is OFF. That is, type “HP N” in the command window
- to shut off polling mode.
-
- With polling mode ON, Dog X-Ray will have to poll for every packet it
- wants to grab from the TNC. I don’t have that handshake enabled for
- anything other than the send/acknowledgment of a TNC command right
- now. So, if you leave HP ON, nothing other than command responses (or
- buffered packets that will mistakenly come across to the program who
- will think (mistakenly) that they are command responses) will come from
- the TNC.
-
-
- 4) Presuming you’ve got the software talking to the TNC, go into host
- mode by: a) selecting the command window and b) selecting “Host Mode
- on” in the “Settings” menu. Note: I probably should check for Host mode
- on startup, but I don’t (yet).
-
- If the TNC is ALREADY is Host mode, the program will recognize this. If
- it’s already connected to something, it will open a connection window for
- each connection. Otherwise, very little will happen visibly. Again, make
- certain HP is NO or HP is OFF. MacRatt required polling to be on. I can see
- how this would be necessary if the TNC was firing data across faster than
- the Mac could handle it. But with today’s faster Macs, it’s completely
- unnecessary for anything other than making sure you don’t try to shove
- data down the TNC’s throat faster than it can swallow. Consequently, all
- commands sent from the Mac to the TNC are sent with the Poll/Ack
- handshake.
-
- 5) If you’re in host mode, the first thing you’ll notice is that command
- completion works in the commands floating window. From now on, you’ll
- use this window only to speak to issue commands to the TNC, and not to
- send data out your connection.
-
- Command completion works like this: type any part of a PK232 command
- and hit ESC. The command nearest (alphabetically) to what you’ve typed
- will appear in the window.
-
- So, type: MH <ESC>
- and :MHEARD will appear in the window. You can hit return now and the
- command will issue.
-
- You can also type: “mhe” or any part of the command, upper or lower case.
-
- You can type “aw 8” if you want to set AWLEN to 8. The command will
- automatically be completed for you. In fact, all commands are completed
- whether you want them to be or not, so be careful what you type in that
- window.
-
- For instance: if you type “CO K6LLK”, thinking you’ll connect to K6LLK
- you won’t get what you think. “CO” maps to “Connect” in terminal
- emulation mode, but in Host mode, “CO” completes to “CODE”, not Connect.
- “CON” completes to CONMODE. To get connect, you have to type “CONN”. If
- you ever have any doubt what command you’re issuing, hit <ESC> after
- typing the command word (before you type your arguments) and you’ll see
- what it completes to.
-
- Watch the monitor window to see what’s happening to your commands.
- I’ve left the debug switches all turned on, so you can see the host mode
- binary reply with an ASCII interpretation (this is for me,and not intended
- to be a user feature, but if it helps, I’ll leave it).
-
- 6) HOW TO CONNECT:
-
- To issue a connect command you have to type something like this in the
- command window:
-
- CONNECT /channel# stationName.
-
- For example:
-
- CONN /0 K6LLK <CR>
-
- connects you to station K6LLK on Channel 0 of the PK232.
-
- CONNECT /4 W6OAT
-
- connects you to W6OAT on channel 4 of the TNC.
-
- By the way, it doesn’t matter which TNC channel you pick to connect on,
- just don’t try to connect to more than one station per channel.
-
-
- 7) Once you’ve issued the connect command, a window will appear with
- something like “K6LLK : 0” as the title, confirming you’ve connected to
- K6LLK on channel 0. You can talk to K6LLK by clicking in the command
- window’s text entry box at the bottom. Type whatever you want. When
- you’re done with the connection and you sign with the connected station,
- you can dismiss the connection window by clicking the close box or
- choosing CLOSE CHAN 0, from the FILE menu. (For some reason, the
- connection window has to be selected for the CLOSE menu to work. This is
- a problem with the way I’ve set up the commanders in PowerPlant and I
- haven’t figured out how to make it more generic. . .) Note: windows don’t
- automatically disappear when a connection terminates the way they
- automatically appear when a connection initiates. Is this a problem?
- I was trying to separate the TNC connection window from the logical
- station connection itself, allowing you to open a generic channel 0, say,
- then connecting it to whatever you want.
-
- 8) You can open more connection windows at any time by selecting NEW
- CHAN X (insert a number between 0-9 for ‘X’) from the FILE menu. These
- windows will not be connected to anything until you issue a “CONNECT
- /chan stationName” command to the TNC in the command window.
-
- Note: if you open a window this way, it’s title doesn’t currently update
- automatically to the station name until you issue a connection status
- command in the command window. To issue a connection status command
- type “CONN” with no arguments in the connection window. The name will
- update. This has to be fixed later.
-
- 9) About the talking stuff:
- if you have MacinTalk installed, Dog X-Ray can verbally report the DX
- spots it hears. It does this by recognizing the characters “DX” in the first
- and second position of any string that comes in (so at the moment, it’s
- pretty stupid and will incorrectly assume ANYTHING that comes over the
- TNC that starts with “DX” is a spotting announcement. This has to be
- smarttened up.
-
- The messages are currently reported in the same mode as the fabled
- “Charlie” on the DX cluster repeaters. That is for something like
-
- DX de AA6YD: 14001.3 5A0ABC 0200Z
-
- Dxr will say: “DX alert, five-alpha-zero-alpha-baker-charlie, fourteen-
- zero-zero-one-point.three.”
-
- You can disable this potentially annoying feature by shutting it off in the
- “Settings” menu. If you don’t have Macintalk installed, nothing will
- happen.
-
-
- 10) The DX Window
- This isn’t very helpful just yet. It keeps a scrolling record of all the DX
- spots it hears in terms of Station, Frequency, Timestamp, and any notes
- the spotter included. Later, this database will form the basis of the
- logger which will alert the user to potential “new ones” per band and
- mode. Right now, it isn’t much of anything. The Macintalk voice will NOT
- work unless this window is up on the screen. You get this window by
- making sure the terminal entry window in the connection window is
- selected (as evidenced by the blinking caret), then select command-5 or
- “Open DX Window”. The window appears, looking much like the monitor
- window.
-
- 11) Debug stuff
- Send Poll sends a PK232 host mode polling packet to the TNC.
-
-
-
- What Next?
-
- The menus all have items that are never enabled. There is much to do
- interface-wise. I’m sending this out to a few people to get some feedback
- on whether the communications section of the program works or not.
- There’s no sense building advanced features if the simple terminal and
- host mode interfaces don’t work.
-
- Known problems. . .
-
- There are many. I’m having a problem with the scrolling window updates.
- I’m using the PowerPlant active scrollers, and if you try to manually
- scroll while the window is scrolling under the influence of the data
- stream, you’ll get junk in the window. This really isn’t there, of course,
- and if you force a redraw by covering the window and uncovering it, or
- scrolling back and forth (when the data stream stops), all will be well. I
- haven’t figured out how to deal with this yet (stop the data input stream
- when the user is scrolling? Don’t let the user scroll when the data is
- coming in? Ideas are welcome.)
-
-
- My THANKS!
-
- Thanks a lot for trying this out for me. Please send any bug reports,
- comments, ideas for how the interface should look, etc, to me at:
-
- joe@killerowls.com.
-
-
-
- Thanks again for your time looking at this program.